package nix.anim.pojo;

import java.io.Serializable;
import java.util.Date;

public class Role implements Serializable {
	
    private Integer id;

    private String name;

    private String roleDesc;

    private Date created;

    private Date updated;

	@Override
	public String toString() {
		return "Role [id=" + id + ", name=" + name + ", roleDesc=" + roleDesc + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc == null ? null : roleDesc.trim();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }
}